Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next

Try Evaluate("@Platform([SPECIFIC])") instead

To make your code a bit more robust if anyone tries it on a different platform, try something like this (assuming it's all LotusScript):
    Dim platform
    platform=Evaluate("@Platform([SPECIFIC])")
    Select Case platform(2)
    Case "5.1"
    Print "Windows XP"
    Case "6.0"
    Print "Windows Vista"
    Case "6.1"
    Print "Windows 7"
    End Case

Note: I haven't tested this code at all. Going by Designer Help, it should work, but I'm not sure if the version strings are exactly what I've shown above, or if they are longer than that.


Feedback response number SLES975B5F created by ~George Umboosicheketsi on 04/26/2013

Can't get windows release using Get... (~Zach Opnutexgo... 17.Apr.13)
. . Hmmm... (~Dan Kikiterobu... 18.Apr.13)
. . Try Evaluate("@Platform([SPECIFIC])... (~Bella Zenfooma... 26.Apr.13)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS